package com.cg.service;

import com.cg.entity.User;
import org.springframework.stereotype.Service;


public interface UserService {

    //登录
    User login(String username, String password);

    //查询账号
    User findByUsername(String username);

    //添加账号
    void addUser(User user);
}
